package com.campus.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;

import java.util.List;

/**
 * @author LuTanhang
 */

//ES实体类
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Document(indexName = "dormitory")
public class Account {
    @Id
    private String accountId;
    private List<String> label;
}
